<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../lib/Validform/5.3.2/style.css" />
    <link rel="stylesheet" type="text/css" href="../../ht-css/Project.css" />
    <link rel="stylesheet" type="text/css" href="../../ht-css/jedate.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>部分商品配送方式</title>
</head>
<body data-id="551">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>商品管理<span class="c-gray en">&gt;</span> 部分商品配送方式 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-member"  method="post">
        <div class="bg-1 bk-gray pb-10">
            <div class="va-m pl-15 lh-50 f-16">
                <strong>部分商品配送方式</strong>
            </div>
            <div class="lh-30 mb-10">
                <table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 72px;margin-left: 24px;" class="form-label f-l label-4">SPU码：</label>
                                <div class="formControls col-sm-9">
                                    <input type="text" style="margin-left: -147px;width: 205px;" class="input-text radius" autocomplete="off" id="spuCode" name="spuCode"  placeholder="请输入商品SPU码" onKeyUp="value=value.replace(/[\W]/g,'')" maxlength="10">
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 70px;" class="form-label f-l label-4">Code码：</label>
                                <div class="formControls col-sm-9">
                                    <input type="text" style="margin-left: -130px;width: 205px;" class="input-text radius" autocomplete="off" id="skuCode" name="skuCode"   placeholder="请输入商品code码"  onKeyUp="value=value.replace(/[\W]/g,'')" maxlength="10">
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label class="form-label f-l label-4">可用物流：</label>
                                <div class="formControls col-sm-9">
                                    <select id="ableLogisticeType" class="select radius f-l ml-10" name="brandclass" size="1" style="width: 59%;height: 30px;">
                                        <option selected value="">请选择物流方式</option>
                                        <option value="40">鑫方盛物流</option>
                                        <option value="10">快递</option>
                                        <option value="20">快运</option>
                                        <option value="30">专车包车</option>
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 72px;" class="form-label f-l label-4">不可用物流：</label>
                                <select id="unableLogisticeType" class="select radius f-l ml-10" name="brandclass" size="1" style="width:48%; height: 30px;">
                                    <option selected value="">请选择物流方式</option>
                                    <option value="40">鑫方盛物流</option>
                                    <option value="10">快递</option>
                                    <option value="20">快运</option>
                                    <option value="30">专车包车</option>
                                </select>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>
            </div>
            <div class="text-c pb-20 pt-10">
                <input   type="button" type="button" class="btn btn-secondary radius size-S powerButton 552" onclick="goodsDistributionMode()" value="查&nbsp;&nbsp;询">
                <input name="" type="reset" class="btn radius size-S ml-10 powerButton 552" value="重&nbsp;&nbsp;置">
                <input  type="button" type="button" style="margin-left: 10px;" class="btn btn-secondary radius size-S powerButton 553" onclick="addgoodsDistributionMode()" value="添&nbsp;&nbsp;加">
            </div>
            <input id="fileUp" type="file" onchange="Imports()" style="display: none">
            <a   class="btn radius size-S powerButton 556" id="aproducts" onclick="aproducts()"  style="margin-left: 17px;" href='' >下载模板<a/>
                <input type="button" onclick="upLoadFile()"  class="btn  radius size-S powerButton 555"  style="margin-left: 14px;width: 96px;" value="导入">
                <a  onclick="errorvalue()" id="errorvalue" class="btn  radius size-S ml-10 powerButton 556"  style="margin-left: 14px;width: 96px;">下载错误值</a>
            <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                <thead>
                <tr class="text-c">
                    <th width="50">序号</th>
                    <th width="50">商品code码</th>
                    <th width="50">所属SPU</th>
                    <th width="100">不可使用物流</th>
                    <th width="100">可使用物流</th>
                    <th width="50">是否限制类商品</th>
                    <th width="50">设置时间</th>
                    <th width="50">设置人</th>
                    <th width="60">操作</th>
                </tr>
                </thead>
                <tbody class="shun">
                </tbody>
            </table>
                <div class="mt-40"></div>
                <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                    <div class="f-r pageturning M-box3"></div>
                </div>
        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../lib/pagination/pagination.css">
<script src="../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script src="../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../ht-js/goods/goodsDistributionMode.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../ht-js/power.js?rev=@@hash"></script>
<script type="text/javascript" src="../../ht-js/warehouse.js?rev=@@hash"></script>
<script>
//下载错误值
    function errorvalue() {
        $('#errorvalue').attr('href',root.goodsInter.expErrorMsg+"?errorBillPrefix=4&creationBy="+JSON.parse(decodeURIComponent(web.readCookie("loginData"))).user.user_ID
        );
    }

    function aproducts() {
        $("#aproducts").attr("href",'https://'+ window.location.host +'/api/admin/aproduct/import/product/expSkuShip')

    }
</script>
</body>
</html>